<?php

/*
 * Niken Larasati
 * larasati.n@students.amikom.ac.id
 */

class admin extends CI_Controller{
    public function __construct() {
        parent::__construct();
        
        $sesi = $this->session->userdata('login');
        if ( $sesi['level'] != 'admin'){
            redirect('halaman');
        }
    }
    
    
}
?>

